home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / openjdk-6-jre-headless.postrm < prev    next >
Encoding:
Text File  |  2012-06-29  |  232 b   |  18 lines

  1. #!/bin/sh -e
  2.  
  3. jdiralias=java-6-openjdk
  4.  
  5. case "$1" in
  6. purge)
  7.     if [ -z "$jdiralias" ]; then
  8.     echo >&2 "$(basename $0): Internal error"
  9.     exit 1
  10.     fi
  11.     rm -rf /etc/$jdiralias
  12.  
  13.     # XXX should remove /etc/.java ???
  14.     ;;
  15. esac
  16.  
  17.  
  18.